<?php

//$username = $_POST['username'];

$conn = new PDO('mysql:host=localhost:3307;dbname=php','root','root');
$conn->exec('SET NAMES UTF8');
//$conn->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_COLUMN);
$res = $conn->prepare("delete from user where id =:ids");
//$res->bindValue(":ids", 112,PDO::PARAM_INT);
$res->execute(['ids'=>110]);


//echo $rows[0][0];
echo $res->rowCount();
